package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.cashadvance.CashByCreditCardBean;
import cn.rongdao.jrkabao.ui.cashadvance.uicomponent.SelectFeeUIComponent;

/**
 * Created by jack on 2017/11/6
 */

public class DialogSelectFeeViewHolder extends FRBaseRecyclerViewHolder<CashByCreditCardBean.PassWay> {

    private SelectFeeUIComponent selectFeeUIComponent;

    public DialogSelectFeeViewHolder(View view) {
        super(view);
        selectFeeUIComponent= (SelectFeeUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(CashByCreditCardBean.PassWay passWay) {
        selectFeeUIComponent.setFeeContentAndDrawable(passWay);
    }
}
